home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-11-30 | 7.0 KB | 186 lines | [TEXT/Rich] |
- RELEASE NOTES FOR LIZZIE BORDEN
-
-
-
- For those who downloaded the beta version of this software, this is a
- full, working version. I'm hesitant to call it final, because I
- haven't _solved_ my font problem, I'm merely working around it (about
- which more below). But: I need this as a working tool, so I'm getting
- by as I can while I wait for a better idea...
-
-
-
- First the good news...
-
- Lizzie Borden (named by our own Jared Sherman) parses PostScript
- dumps, enabling you to extract particular pages/plates. The extracted
- matter is stored in a new downloadable file.
-
- Why is this useful? Fifty-three pages in one dump. Page 14 was
- scratched in the processor. The media ran out on the magenta plate.
- If you make use of PS dumps, you know the boundless frustration of
- having to rerun a whole file to recover one lost page. When she's
- perfected, Lizzie will make that problem go away.
-
-
-
- Now the bad news...
-
- For the life of me, I can't figure out how to extract and insert
- embedded fonts in a reliable way. Files that completely omit
- "%%BeginFont:" or "%%BeginResource: font" are no problem at all. So
- long as the fonts are RIP-resident, Lizzie files will run fine. But
- files that include the fonts, as do most Mac-originated files,
- present a problem. I can reliably find and extract the code from the
- "%%Begin..." to the "%%End...", but I'm not sure that that's all the
- information I need. Moreover, I can't find a programmatic way to
- insert the information when I need it later.
-
- In consequence: with this version, I have appended the fonts declared
- on a particular page beneath that page's listing. A typical listing
- might look like this:
-
- Page: ? 1
- Courier-Bold
- Courier
- Page: ? 2
- Page: ? 3
- Caslon-Bold
- Page: ? 4
- Page: ? 5
-
- In this listing, the two Courier fonts are defined on page 1,
- and Caslon-Bold is defined on page 3. If you need page 5 _only_,
- and you don't know what fonts are used on page 5, you would have
- to run pages 1, 3 and 5 to be assured that all document-defined
- fonts are available to page 5. Of course, you can always look
- at the file through a text editor to find out what fonts page 5
- uses. But, if you don't, you will have to waste two pages to
- get the one you want. I wish I had better news at this stage,
- but, in fact, it's better than wasting four pages, your
- option without Lizzie...
-
- I don't love this, but it works. I'll continue looking for
- a better way - and if you know of one, I'd be delighted to
- hear from you.
-
-
-
- Lizzie in a frenzy...
-
- Lizzie Borden is compatible with both Systems 6 and 7. Under System
- 7, you can launch her by Drag and Drop. You can also Drag and Drop on
- her after she's launched. If you don't Drag and Drop launch, you will
- be prompted for a file to open. Multiple files can be opened
- simultaneously, to the limit of the current memory partition, and
- each file will appear in its own window.
-
- At file opening time, Lizzie checks:
-
- 1. If the file will fit in available memory, politely declining if
- not.
-
- 2. If the file is PostScript, again bailing out if not.
-
- 3. If the file is reasonably Adobe Document Structure conforming,
- shunning eccentrics.
-
- If the file passes these tests, she then parses the pages, presenting
- them in a standard Macintosh list box. The list entries look like
- this:
-
- Page: X Y, Color: Z
-
- where "X" is the arbitrary, application-defined page number, if any,
- "?" if not; "Y" is the page number assigned to the file by the
- PostScript-generating software (IOW, the sequential page number,
- starting from 1); and "Z" is the name of the plate color, if any; if
- there is no "%%PlateColor:" comment, this information is omitted. In
- most cases, you will have to select pages on the basis of the "Y"
- value; if you're replacing a scratched page, you'll need to count the
- good pages in sequence, then select the page number one greater than
- that total.
-
- The list works in the normal fashion: click selects one page,
- deselecting any others. Shift- or Command-click adds to the current
- selection, either individually or in bulk with a drag. When you hit
- Start or Command-S, the pages you have selected will be saved under
- the filename you establish.
-
- Assuming it meets the font qualifications described above, the new
- file is downloadable as is, and it can itself be run through Lizzie,
- if you need an even smaller subset.
-
-
-
- Flourishes...
-
- There are little bits and pieces all over, including some intelligent
- error-handling that I haven't mentioned (all Mac Human Interface
- Guidelines stuff), but there are a couple of points I wanted to hit.
-
- Lizzie is sensitive to the problems posed by DOS/UNIX-like files. At
- write time, if a file has CR/LF or LF-only line-endings, it is
- converted to its normal Macintosh CR-only form. This is essentially
- the PSPort logic, so you don't need to run PSPort on files that are
- Lizzie-bound.
-
- We are using a type of read and write logic that is new to me, with
- the result that the times associated with these events are _very_
- fast, a necessary exigency given the sheer size of PostScript files.
- The only exception is this: files requiring LF-translation take about
- as long as they'd take with PSPort, because they require intense
- interrogation.
-
- Lastly, I have seen files that, in fact, consisted of several
- concatenated PostScript dumps. My surmise is that the PS-generator
- has an upper limit on the number of pages it can put in a dump, so it
- fakes itself out with concatenation, 2 or more contiguous dumps of X
- pages each. If Lizzie sees a file like this, she chops it up into
- separate files (which may be what you would have done anyway!). If
- the file requires LF-translation it is done at the same time, so that
- if you Open one of the segments, it will come in as a Mac-like file.
-
-
-
- Some notes (because I've been spotty with my mail)...
-
- Chris Ryland was appropriately indignant that big-ticket
- shrink-wrapped apps aren't building stand-alone pages when they write
- PostScript. I wish I could share in his indignation, but my own The
- Frog Prints is an offender... (grin)
-
- Kip Shaw asked if Torquemada could help Lizzie. The answer is: not as
- well as she can help herself. She already locates all the fonts (and
- pictures and procsets, etc.), from start to end, much more quickly
- that Torquemada could. My sole problem is knowing where to "Paste" in
- what I've "Copied". If I were building Torquemada today, I'd build
- him Lizzie's way, since he'd be orders of magnitude faster.
-
- Lastly: this is working with all of my test files, but that really
- doesn't mean anything. If anything untoward happens, please let me
- know. I'm sure I'll be back to Lizzie, in any case, but I want to
- make sure (for my own selfish reasons) that she's a rock-steady,
- reliable tool, even if she must remain forevermore slightly daft in
- the fonts department.
-
-
-
- Gratitude, etc....
-
- I'm very interested in solving this nasty font problem, so I'm
- grateful for any help you can give me. However...
-
- If at all possible, please don't Email me full PS dumps. I'm
- interested in hearing any details you have, and I'd love to see
- swatches of problematic code. But I can't afford hour-long DLs for a
- freeware product...
-
-
-
- Thanks for your help!
-
- Best,
-
- Greg Swann
-